package fr.cnam.projetSiw.client.services;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.AsyncCallback;

import fr.cnam.projetSiw.shared.Artist;
import fr.cnam.projetSiw.shared.City;
import fr.cnam.projetSiw.shared.MusicEvent;
import fr.cnam.projetSiw.shared.Track;

public interface LastFmServiceAsync {

	void getWeeklyArtistChart(AsyncCallback<ArrayList<Artist>> callback);

	void getEventsByLatAndLon(double lat, double lon,
			AsyncCallback<ArrayList<MusicEvent>> callback);

	void getArtistByName(String name, AsyncCallback<Artist> callback);

	void getTrackByName(String artistName, String trackName,
			AsyncCallback<Track> callback);

	void getHypeArtistByCity(City city,
			AsyncCallback<ArrayList<Artist>> callback);

}
 